package com.ytjj.quartz.dao;

import com.ytjj.quartz.model.CircleMainRoleInfoResponse;
import com.ytjj.quartz.model.CircleOrdersInfoResponse;
import com.ytjj.quartz.model.CirclePropertyInfoResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CircleDao {
    void circleActivityOffLine();
    List<CircleOrdersInfoResponse> selectPayOrders();
    List<CirclePropertyInfoResponse> selectCirclePropertyByCircleIdAndProductSpecId(@Param("circleId") Integer circleId,
                                                                                    @Param("productSpecId") Integer productSpecId);
    List<CircleMainRoleInfoResponse> selectCircleMainRoleByHeadId(@Param("headId") Integer headId);

    void updateBrokerageGrantFlag(Integer id);

    List<Integer> selectCircleIds();
    void updateCircleActivityOffLineByProductStatus(@Param("circleIds") List<Integer> circleIds);
}
